package com.ihd.ihardware.pojo;

import java.io.Serializable;
import java.util.List;

import cn.wowjoy.commonlibrary.bean.BaseResponse;

public class ArticalRes extends BaseResponse<ArticalRes.DataBean> implements Serializable {

    public static class DataBean {
        /**
         * pageNum : 1
         * pageSize : 10
         * total : 1
         * pages : 1
         * list : [{"id":"23","name":"测试文章1","title":"测试文章2","category":"1001","categoryName":"饮食","iconUrl":null,"readNum":0,"tagsNum":1,"collectNum":2,"commentNum":3,"collectState":false,"tagsState":false}]
         */

        private int pageNum;
        private int pageSize;
        private int total;
        private int pages;
        private List<ListBean> list;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable {
            /**
             * id : 23
             * name : 测试文章1
             * title : 测试文章2
             * category : 1001
             * categoryName : 饮食
             * iconUrl : null
             * readNum : 0
             * tagsNum : 1
             * collectNum : 2
             * commentNum : 3
             * collectState : false
             * tagsState : false
             */

            private String id;
            private String name;
            private String title;
            private String category;
            private String categoryName;
            private String iconUrl;
            private String readNum;
            private String tagsNum;
            private String collectNum;
            private String commentNum;
            private String type;
            private String url;
            private boolean collectState;
            private boolean tagsState;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getCategoryName() {
                return categoryName;
            }

            public void setCategoryName(String categoryName) {
                this.categoryName = categoryName;
            }

            public String getIconUrl() {
                return iconUrl;
            }

            public void setIconUrl(String iconUrl) {
                this.iconUrl = iconUrl;
            }

            public String getReadNum() {
                return readNum;
            }

            public void setReadNum(String readNum) {
                this.readNum = readNum;
            }

            public String getTagsNum() {
                return tagsNum;
            }

            public void setTagsNum(String tagsNum) {
                this.tagsNum = tagsNum;
            }

            public String getCollectNum() {
                return collectNum;
            }

            public void setCollectNum(String collectNum) {
                this.collectNum = collectNum;
            }

            public String getCommentNum() {
                return commentNum;
            }

            public void setCommentNum(String commentNum) {
                this.commentNum = commentNum;
            }

            public boolean isCollectState() {
                return collectState;
            }

            public void setCollectState(boolean collectState) {
                this.collectState = collectState;
            }

            public boolean isTagsState() {
                return tagsState;
            }

            public void setTagsState(boolean tagsState) {
                this.tagsState = tagsState;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
